import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'assets/css/global.css'
Vue.config.productionTip = false
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import animate from 'animate.css'

import moment from 'moment'
// 添加过滤器 fmtdata 引用moment转码成(年年年年-月月-日日)格式
Vue.filter('fmtdate', (v) => {
  return moment.utc(v).local().format('YYYY-MM-DD HH:mm:ss')
})
Vue.use(animate);
Vue.use(ElementUI);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
